<?php
/**
 * Created by 荣耀电竞.
 * User: 林子彦 <278805354@qq.com>
 * Date: 2018/7/10 0010
 * Time: 10:41
 */
namespace App\Pay\Controllers;
use App\Base\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;

/**
 * 支付公共类
 * Class PayController
 * @package App\Pay\Controllers
 */
class PayController extends Controller
{

    /**
     * 支付入口
     * @param Request $request
     */
    public function payHandle(Request $request){
        $orderSn=$request->input("order_sn");
         //日志文件
        $error="info:错误信息";
        Log::emergency($error);
        Log::alert($error);
        Log::critical($error);
        Log::error($error);
        Log::warning($error);
        Log::notice($error);
        Log::info($error);
        Log::debug($error);
        echo "===结束====";
    }
    /**
     * 支付返回处理
     * @param Request $request
     */
    public function returnHandle(Request $request){

    }

    /**
     * 异步通知处理
     * @param Request $request
     */
    public function notityHandle(Request $request){


    }

}